<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>picture_last</title>
<link rel="stylesheet" type="text/css" href="/networkforum/css/base.css" />
<link rel="stylesheet" type="text/css" href="/networkforum/css/picture_main.css" />
<!–[if lt IE9]> 
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]–>
<style type="text/css">
	.pictureLast{
		width:100%;
		min-height:200px;
		height:auto;
		padding-bottom: 25px;
	}
	.lastInner{
		width:99%;
		min-height:200px;
		height:auto;
		margin-top:10px;
		position:relative;
		display:inline-block;
		margin-bottom: 15px;
	}
	.time{
		width:98%;
		height:50px;
		line-height:50px;
		vertical-align:middle;
		font-size:24px;
		font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;
		color:#90F;
		text-align:left;
		display:block;
	}
	.lastUl{
		width:95%;
		min-height:200px;
		height:auto;
		display:inline-block;
		float:right;
		position:relative;
	}
	.lastUl li{
		width:24%;
		min-height:238px;
		max-height:400px;
		height:auto;
		border:1px solid #ccc;
		margin-left:7px;
		margin-top:10px;
		border-radius:5px;
		overflow:hidden;
		display:block;
		position:relative;
	}
	
</style>
<script type="text/javascript">

window.onload = function(){
	
	//登录页面后通过myajax获取进一步的信息
	myajax = getByAjax();
	myajax.init(null,"get",true);
	myajax.get("/networkforum/picture/last_all_picture.do?index=0&size=20",function(d){
		//var data = eval("("+d+")");
		var data = toJson(d);
		callBack(data);
	});
	myajax = null;	



	//添加scroll事件
	var param = {
		url:"/networkforum/picture/last_all_picture.do",
		size:20,
		callBack:callBack,
		target:window.parent,
		containerId:"pictureLast"
	}
	page.scrolls(param);
	//window.parent.addS(callBack);
}
function callBack(data){
	var ls = PICTURE();
	ls.showLast(data);
	ls = null;
	window.parent.iFrameHeight();
}
</script>
</head>
<body>
	<section id="pictureLast" class="pictureLast">
    	
    </section>
</body>
<script type="text/javascript" src="/networkforum/js/picture_last.js"></script>
<script type="text/javascript" src="/networkforum/js/myajax.js"></script>
<script type="text/javascript" src="/networkforum/js/scrolls.js"></script>
<script type="text/javascript" src="/networkforum/js/base.js"></script>
</html>
